gfxdraw circle weight

36

def draw_arc(surface, col, x, y, r, start_angle, stop_angle, width=1):
    """Draw an arc given the centre and radius"""
    pygame.draw.arc(
        surface, col, (x - r, y - r, r * 2, r * 2), start_angle, stop_angle, width=width
    )

Comments

Submit
0 Comments